package com.smart.sso.server.service;

import com.smart.mvc.model.Pagination;
import com.smart.mvc.service.mybatis.Service;
import com.smart.sso.server.model.Log;

public interface LogService extends Service<Log , Integer> {
	
	public void add(Log log);
	
	public Pagination<Log> findAllPagination(Pagination<Log> p);
	
	public Pagination<Log> findPaginationByAccount(String account , Pagination<Log> p);
	
	public Pagination<Log> findPaginationByDate(String startDate , String endDate , Pagination<Log> p);
	
	public Pagination<Log> findPaginationByAccountAndDate(Integer userId, String account , String startDate ,String endDate , Pagination<Log> p);
}
